<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
	<link rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css"/>
    <title>广州肝炎疫情分布图</title>
    <style>
        html, body, #container {
            height: 100%;
            width: 100%;
        }
        .amap-icon img {
            width: 25px;
            height: 34px;
        }
        .amap-marker-label{
            border: 0;
            background-color: transparent;
        }
        .info{
            position: relative;
            top: 0;
            right: 0;
            min-width: 0;
        }
    </style>
</head>
<body>
<div id="container"></div>
<script type="text/javascript"
        src="https://webapi.amap.com/maps?v=1.4.15&key=3f7d61d20313ffb297a62e96a92c0cdb"></script>
<script type="text/javascript">
    var map = new AMap.Map('container', {
        resizeEnable: true,
        center: [113.266887,23.133306],
        zoom: 12
    });
	
	var list = [{"name":"海珠广场侨光路万艺广场","address":"广东省广州市越秀区海珠广场侨光路万艺广场","x":"113.267240","y":"23.115750"},{"name":"黄花岗街东风东路","address":"广东省广州市越秀区黄花岗街东风东路","x":"113.295434","y":"23.131286"},{"name":"梅花村街杨箕村金羊花园","address":"广东省广州市越秀区梅花村街杨箕村金羊花园","x":"113.309337","y":"23.126702"},{"name":"农林下路","address":"广东省广州市越秀区农林下路","x":"113.297758","y":"23.129123"},{"name":"水均岗","address":"广东省广州市越秀区水均岗","x":"113.306938","y":"23.130006"},{"name":"水荫路","address":"广东省广州市越秀区水荫路","x":"113.311665","y":"23.142727"},{"name":"淘金东路御龙庭","address":"广东省广州市越秀区淘金东路御龙庭","x":"113.295790","y":"23.142618"},{"name":"淘金路","address":"广东省广州市越秀区淘金路","x":"113.290244","y":"23.140513"},{"name":"华乐街华侨新村光明路","address":"广东省广州市越秀区华乐街华侨新村光明路","x":"113.291161","y":"23.137744"},{"name":"赤岗街石榴岗路","address":"广东省广州市海珠区赤岗街石榴岗路","x":"113.336726","y":"23.087792"},{"name":"凤阳街道和平家园","address":"广东省广州市海珠区凤阳街道和平家园","x":"113.314626","y":"23.086967"},{"name":"赤岗街新港中路影城花园","address":"广东省广州市海珠区赤岗街新港中路影城花园","x":"113.318802","y":"23.095820"},{"name":"凤阳街和平家园","address":"广东省广州市海珠区凤阳街和平家园","x":"113.314369","y":"23.086779"},{"name":"华洲街土华村山北岗","address":"广东省广州市海珠区华洲街土华村山北岗","x":"113.347963","y":"23.072565"},{"name":"南石头街鸡春岗新街","address":"广东省广州市海珠区南石头街鸡春岗新街","x":"113.265285","y":"23.077324"},{"name":"瑞宝街金恒路","address":"广东省广州市海珠区瑞宝街金恒路","x":"113.288352","y":"23.064184"},{"name":"沙园街昌岗中路","address":"广东省广州市海珠区沙园街昌岗中路","x":"113.271715","y":"23.085880"},{"name":"南华西街道同福西路","address":"广东省广州市海珠区南华西街道同福西路","x":"113.252378","y":"23.102497"},{"name":"石榴岗路","address":"广东省广州市海珠区石榴岗路","x":"113.336726","y":"23.087792"},{"name":"小港路涌边东九巷","address":"广东省广州市海珠区小港路涌边东九巷","x":"113.267720","y":"23.109908"},{"name":"新港街国际轻纺城双子星城星辰轩","address":"广东省广州市海珠区新港街国际轻纺城双子星城星辰轩","x":"113.298650","y":"23.089273"},{"name":"新港中路影城花园","address":"广东省广州市海珠区新港中路影城花园","x":"113.318802","y":"23.095820"},{"name":"锦江之星","address":"广东省广州市海珠区锦江之星","x":"113.278233","y":"23.079600"},{"name":"革新路船舶太古酒店","address":"广东省广州市海珠区革新路船舶太古酒店","x":"113.254885","y":"23.089728"},{"name":"华林街道文昌南路","address":"广东省广州市荔湾区华林街道文昌南路","x":"113.244376","y":"23.115896"},{"name":"塘街凯粤湾","address":"广东省广州市荔湾区塘街凯粤湾","x":"113.207054","y":"23.109754"},{"name":"区金花街道芦荻街","address":"广东省广州市荔湾区区金花街道芦荻街","x":"113.252468","y":"23.128012"},{"name":"花湾","address":"广东省广州市荔湾区花湾","x":"113.244261","y":"23.125981"},{"name":"街道上下九丽枫酒店","address":"广东省广州市荔湾区街道上下九丽枫酒店","x":"113.250311","y":"23.122286"},{"name":"车陂街美好居","address":"广东省广州市天河区车陂街美好居","x":"113.393474","y":"23.125246"},{"name":"天河新作","address":"广东省广州市天河区天河新作","x":"113.333310","y":"23.134063"},{"name":"合景路","address":"广东省广州市天河区合景路","x":"113.415902","y":"23.157530"},{"name":"海景花园","address":"广东省广州市天河区海景花园","x":"113.366470","y":"23.123393"},{"name":"猎德街道珠光衘景","address":"广东省广州市天河区猎德街道珠光衘景","x":"113.338318","y":"23.114361"},{"name":"猎德街猎德复建房","address":"广东省广州市天河区猎德街猎德复建房","x":"113.336127","y":"23.113409"},{"name":"体育西小区","address":"广东省广州市天河区体育西小区","x":"113.327098","y":"23.128086"},{"name":"前进街盈彩美居街彩轩","address":"广东省广州市天河区前进街盈彩美居街彩轩","x":"113.418233","y":"23.114423"},{"name":"沙太南路","address":"广东省广州市天河区沙太南路","x":"113.325478","y":"23.166450"},{"name":"石牌街暨南大学羊城苑","address":"广东省广州市天河区石牌街暨南大学羊城苑","x":"113.345004","y":"23.132606"},{"name":"棠下街道棠石路新景苑小区","address":"广东省广州市天河区棠下街道棠石路新景苑小区","x":"113.369667","y":"23.124170"},{"name":"棠下街枫叶路棠雅苑","address":"广东省广州市天河区棠下街枫叶路棠雅苑","x":"113.367791","y":"23.134729"},{"name":"棠下街华景新城陶然庭苑","address":"广东省广州市天河区棠下街华景新城陶然庭苑","x":"113.361146","y":"23.142306"},{"name":"棠下荷光广州锦顺酒店","address":"广东省广州市天河区棠下荷光广州锦顺酒店","x":"113.379002","y":"23.126587"},{"name":"凤凰街道渔兴路","address":"广东省广州市天河区凤凰街道渔兴路","x":"113.377921","y":"23.211136"},{"name":"冼村街道马场路富力花园","address":"广东省广州市天河区冼村街道马场路富力花园","x":"113.343987","y":"23.122411"},{"name":"冼村街道华明路","address":"广东省广州市天河区冼村街道华明路","x":"113.317647","y":"23.122321"},{"name":"冼村街道珠光新城御景二期","address":"广东省广州市天河区冼村街道珠光新城御景二期","x":"113.349207","y":"23.117643"},{"name":"冼村街道潭村路珠光御景","address":"广东省广州市天河区冼村街道潭村路珠光御景","x":"113.346745","y":"23.116180"},{"name":"新塘街华观路云城米酷","address":"广东省广州市天河区新塘街华观路云城米酷","x":"113.410910","y":"23.167770"},{"name":"兴华街沙太南路","address":"广东省广州市天河区兴华街沙太南路","x":"113.325478","y":"23.166450"},{"name":"车陂街林南文化酒店","address":"广东省广州市天河区车陂街林南文化酒店","x":"113.396914","y":"23.124320"},{"name":"鹤龙街道黄边安怀里","address":"广东省广州市白云区鹤龙街道黄边安怀里","x":"113.274808","y":"23.226587"},{"name":"鹤龙街联边彭西一街","address":"广东省广州市白云区鹤龙街联边彭西一街","x":"113.350156","y":"23.296120"},{"name":"黄石街白云尚城","address":"广东省广州市白云区黄石街白云尚城","x":"113.284841","y":"23.212353"},{"name":"黄石花园","address":"广东省广州市白云区黄石花园","x":"113.267155","y":"23.204625"},{"name":"元邦航空家园","address":"广东省广州市白云区元邦航空家园","x":"113.259033","y":"23.204959"},{"name":"时代玫瑰园","address":"广东省广州市白云区时代玫瑰园","x":"113.286012","y":"23.224120"},{"name":"江高镇大田村海口直街","address":"广东省广州市白云区江高镇大田村海口直街","x":"113.206467","y":"23.270765"},{"name":"保利西海岸江海花园","address":"广东省广州市白云区保利西海岸江海花园","x":"113.210632","y":"23.173312"},{"name":"金沙洲保利西子湾","address":"广东省广州市白云区金沙洲保利西子湾","x":"113.210664","y":"23.148024"},{"name":"梅滨大厦","address":"广东省广州市白云区梅滨大厦","x":"113.325665","y":"23.180038"},{"name":"南湖高尔夫公寓","address":"广东省广州市白云区南湖高尔夫公寓","x":"113.329505","y":"23.218545"},{"name":"人和镇清河渡头街","address":"广东省广州市白云区人和镇清河渡头街","x":"113.267439","y":"23.291664"},{"name":"鹤龙街道乐得花园","address":"广东省广州市白云区鹤龙街道乐得花园","x":"113.275073","y":"23.222616"},{"name":"麒麟新村三街二巷","address":"广东省广州市白云区麒麟新村三街二巷","x":"113.337982","y":"23.184927"},{"name":"人和镇人和商业街","address":"广东省广州市白云区人和镇人和商业街","x":"113.293204","y":"23.342251"},{"name":"石井街道石潭路","address":"广东省广州市白云区石井街道石潭路","x":"113.238724","y":"23.203995"},{"name":"松洲街道西槎路同景东街","address":"广东省广州市白云区松洲街道西槎路同景东街","x":"113.237312","y":"23.166634"},{"name":"棠景街道岗贝路贝丽花园","address":"广东省广州市白云区棠景街道岗贝路贝丽花园","x":"113.256814","y":"23.179523"},{"name":"棠景街国强北街","address":"广东省广州市白云区棠景街国强北街","x":"113.251031","y":"23.183148"},{"name":"心谊路","address":"广东省广州市白云区心谊路","x":"113.256288","y":"23.170306"},{"name":"南航明珠酒店","address":"广东省广州市白云区南航明珠酒店","x":"113.296818","y":"23.372092"},{"name":"人和镇西成路蔚徕酒店","address":"广东省广州市白云区人和镇西成路蔚徕酒店","x":"113.294178","y":"23.342419"},{"name":"大沙街丰乐北路君和名城","address":"广东省广州市黄浦区大沙街丰乐北路君和名城","x":"113.454642","y":"23.107663"},{"name":"金碧世纪花园","address":"广东省广州市黄浦区金碧世纪花园","x":"113.429290","y":"23.114462"},{"name":"联和街保利林语山庄芳林二街","address":"广东省广州市黄浦区联和街保利林语山庄芳林二街","x":"113.454698","y":"23.183080"},{"name":"龙湖街万科幸福誉","address":"广东省广州市黄浦区龙湖街万科幸福誉","x":"113.540400","y":"23.331014"},{"name":"南岗街广海路亨元花园","address":"广东省广州市黄浦区南岗街广海路亨元花园","x":"113.538886","y":"23.094042"},{"name":"云埔街道中海誉城","address":"广东省广州市黄浦区云埔街道中海誉城","x":"113.526037","y":"23.161849"},{"name":"夏港街蓝玉五街","address":"广东省广州市黄浦区夏港街蓝玉五街","x":"113.527296","y":"23.056694"},{"name":"云埔街万科金色梦想","address":"广东省广州市黄浦区云埔街万科金色梦想","x":"113.529519","y":"23.163331"},{"name":"花城街道南航花园","address":"广东省广州市花都区花城街道南航花园","x":"113.232050","y":"23.402184"},{"name":"花城街道长岗村","address":"广东省广州市花都区花城街道长岗村","x":"113.237298","y":"23.437556"},{"name":"狮岭镇合成村","address":"广东省广州市花都区狮岭镇合成村","x":"113.181508","y":"23.454846"},{"name":"新华街宾馆新村","address":"广东省广州市花都区新华街宾馆新村","x":"113.211543","y":"23.382231"},{"name":"新华街锦尚蓬莱","address":"广东省广州市花都区新华街锦尚蓬莱","x":"113.236731","y":"23.390859"},{"name":"新雅街道合和新城锦华","address":"广东省广州市花都区新雅街道合和新城锦华","x":"113.255212","y":"23.371447"},{"name":"秀全街雅宝新城英伦世家","address":"广东省广州市花都区秀全街雅宝新城英伦世家","x":"113.186363","y":"23.425954"},{"name":"自由人花园2期","address":"广东省广州市花都区自由人花园2期","x":"113.220127","y":"23.342814"},{"name":"大龙街尚东尚筑","address":"广东省广州市番禺区大龙街尚东尚筑","x":"113.405360","y":"22.937126"},{"name":"名伦花园","address":"广东省广州市番禺区名伦花园","x":"113.329204","y":"23.010738"},{"name":"金山谷花园","address":"广东省广州市番禺区金山谷花园","x":"113.342779","y":"22.973553"},{"name":"东环街甘棠村大社坊中心街","address":"广东省广州市番禺区东环街甘棠村大社坊中心街","x":"113.377978","y":"22.957813"},{"name":"南村镇雅居乐","address":"广东省广州市番禺区南村镇雅居乐","x":"113.379100","y":"23.003863"},{"name":"碧桂园东苑倚翠路","address":"广东省广州市番禺区碧桂园东苑倚翠路","x":"113.286646","y":"22.953301"},{"name":"星河湾半岛","address":"广东省广州市番禺区星河湾半岛","x":"113.352429","y":"23.032255"},{"name":"钟村街晋富路","address":"广东省广州市番禺区钟村街晋富路","x":"113.312961","y":"22.981250"},{"name":"祈福新村祈福名都","address":"广东省广州市番禺区祈福新村祈福名都","x":"113.322493","y":"22.964750"},{"name":"石楼镇亚运城媒体村","address":"广东省广州市番禺区石楼镇亚运城媒体村","x":"113.475048","y":"22.944387"},{"name":"市桥街丽柏酒店","address":"广东省广州市番禺区市桥街丽柏酒店","x":"113.369007","y":"22.946066"},{"name":"叠翠峰","address":"广东省广州市南沙区叠翠峰","x":"113.520916","y":"22.796638"},{"name":"黄阁镇万科南方公元","address":"广东省广州市南沙区黄阁镇万科南方公元","x":"113.499960","y":"22.808018"},{"name":"榄核镇蔡源东街","address":"广东省广州市南沙区榄核镇蔡源东街","x":"113.343023","y":"22.838345"},{"name":"南沙街坦头村槽船一街","address":"广东省广州市南沙区南沙街坦头村槽船一街","x":"113.581298","y":"22.806262"},{"name":"城郊街新雍丽酒店","address":"广东省广州市从化区城郊街新雍丽酒店","x":"113.577536","y":"23.555358"},{"name":"荔城街中海城市广场","address":"广东省广州市增城区荔城街中海城市广场","x":"113.825033","y":"23.286056"},{"name":"新塘镇尚东阳光","address":"广东省广州市增城区新塘镇尚东阳光","x":"113.573111","y":"23.103124"},{"name":"新塘镇太平洋花园","address":"广东省广州市增城区新塘镇太平洋花园","x":"113.578030","y":"23.117227"},{"name":"新塘镇翡翠绿洲","address":"广东省广州市增城区新塘镇翡翠绿洲","x":"113.561382","y":"23.131954"},{"name":"新塘镇西洲村豪门公寓","address":"广东省广州市增城区新塘镇西洲村豪门公寓","x":"113.579059","y":"23.108109"},{"name":"新塘镇西洲村","address":"广东省广州市增城区新塘镇西洲村","x":"113.581568","y":"23.101493"}];
	
	
	for(var i = 0 ; i < list.length ; i++){
		var obj = list[i];
		console.info(obj);
		var marker = new AMap.Marker({
			position: [obj.x, obj.y]
		});

		marker.setMap(map);

		// 设置鼠标划过点标记显示的文字提示
		marker.setTitle(obj.address);

		// 设置label标签
		// label默认蓝框白底左上角显示，样式className为：amap-marker-label
		marker.setLabel({
			offset: new AMap.Pixel(0, 10),  //设置文本标注偏移量
			content: "<div class='info'>"+obj.name+"</div>", //设置文本标注内容
			direction: 'top' //设置文本标注方位
		});
	}
</script>
</body>
</html>